package com.kh.pajx.sop.service;

import javax.servlet.http.HttpServletRequest;

import com.kh.pajx.sop.base.IBaseService;
import com.kh.pajx.sop.domain.SysLog;

/**
 * 日志信息 业务逻辑接口
 * @author:	azzcsimp
 * @Createdate:	2014年7月3日 下午5:57:16
 */
public interface ISysLogService extends IBaseService<SysLog> {
	
	/**
	 * 记录登录失败日志
	 * @param request 当前页面请求对象
	 * @param content  日志内容
	 * @author:	azzcsimp
	 * @Createdate:	2014年7月14日 下午6:54:41
	 */
	public void loginFailure(HttpServletRequest request,String content);

	//public SysLog loginSuccess(CmsUser user, String title);
	
	/*public Pagination getPage(Integer category, Integer siteId,
			String username, String title, String ip, int pageNo, int pageSize);

	public CmsLog findById(Integer id);

	public CmsLog operating(HttpServletRequest request, String title,
			String content);

	public CmsLog loginFailure(HttpServletRequest request, String title,
			String content);

	public CmsLog loginSuccess(HttpServletRequest request, CmsUser user,
			String title);

	public CmsLog save(CmsLog bean);

	public CmsLog deleteById(Integer id);

	public CmsLog[] deleteByIds(Integer[] ids);

	public int deleteBatch(Integer category, Integer siteId, Integer days);*/
}
